<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        {css file="__ROOT__/static/jqueryui/css/smoothness/jquery-ui-1.10.0.custom.css"/}
        {jquery/}
        {js file="__ROOT__/static/jqueryui/js/jquery-ui-1.10.0.custom.min.js"/}
        {js file="__PUBLIC__/js/category.js"/}
        <script>
            $(function() {
                $( "#tabs" ).tabs();
            });
        </script>

        <style type="text/css">
           .bline {
                background-color: #FFFFFF;
                border-bottom: 1px dotted #BCBCBC;
                height: 28px;
                padding-bottom: 2px;
                padding-top: 2px;
            }
            .bline input{
                height: 25px;
            }
            table tr td{
                font-size: 13px;
            }
            .w300{width:330px;}
            .h100{height:80px;}
            .desc{color: red;}
        </style>
    </head>
    <body>
        <form action="{|U('save')}" method="post">
            <input type="hidden" name="pid" value="{$field.pid}"/>
            <input type="hidden" name="cid" value="{$hd.get.cid}"/>
            <div id="tabs">
                <ul>
                    <li><a href="#tabs-1">基本设置</a></li>
                    <li><a href="#tabs-2">模板设置</a></li>
                    <li><a href="#tabs-3">静态规则</a></li>
                </ul>
                <div id="tabs-1">
                    <table width="100%" cellspacing="0" cellpadding="0" border="0">
                      <tbody>
                      <tr>
                        <td width="100" height="26" class="bline"><font color="">栏目名称：</font></td>
                        <td class="bline"><input type="text" class="iptxt" size="30" name="catname" value="{$field.catname}"><span class="desc"></span></td>
                      </tr>
                      <tr>
                            <td width="100" height="26" class="bline"><font color="">发表文章：</font></td>
                            <td class="bline">
                                <input type="radio"  name="issend" value="1" {if value="$field.issend==1"}checked="checked"{/if} /> 是
                                <input type="radio"  name="issend" value="0" {if value="$field.issend==0"}checked="checked"{/if} /> 否
                            </td>
                        </tr>
                      <tr>
                        <td width="100" height="26" class="bline"><font color="">静态目录：</font></td>
                        <td class="bline"><input type="text" class="iptxt" size="30" name="catdir" value="{$field.catdir}" /><span class="desc"></span></td>
                      </tr>
                      <tr>
                        <td height="26" class="bline"><font color="">　关键字：</font></td>
                        <td class="bline"><input type="text" class="iptxt" size="30" name="keywords" value="{$field.keywords}" /><span class="desc"></span></td>
                      </tr>
                      <tr>
                        <td height="26" class="bline"><font color="">栏目描述：</font></td>
                        <td class="bline"><textarea name="description" class="w300 h100">{$field.description}</textarea><span class="desc"></span></td>
                      </tr>
                      
                      </tbody>
                    </table>
                </div>
                <div id="tabs-2">
                    <table width="100%" cellspacing="0" cellpadding="0" border="0">
                      <tbody>
                      <tr>
                        <td width="130" height="26" class="bline"><font color="">　栏目模板: </font></td>
                        <td class="bline"><input type="text" class="iptxt" size="30" name="cattpl" value="{$field.cattpl}"/><button class="bt2">选择模板</button><span class="desc"></span></td>
                      </tr>
                      <tr>
                        <td width="130" height="26" class="bline"><font color="">内容页模板: </font></td>
                        <td class="bline"><input type="text" class="iptxt" size="30" name="arctpl" value="{$field.arctpl}"/><button class="bt2">选择模板</button><span class="desc"></span></td>
                      </tr>
                      
                      </tbody>
                    </table>
                    
                </div>
                <div id="tabs-3">
                     <table width="100%" cellspacing="0" cellpadding="0" border="0">
                      <tbody>
                      <tr>
                        <td width="130" height="26" class="bline"><font color="">　栏目静态: </font></td>
                        <td class="bline"><input type="text" class="iptxt" size="30" name="cathtml" value="{$field.cathtml}"/><span class="desc">{htmlpath}静态根目录 {catdir}列表目录 {cid}栏目ID</span></td>
                      </tr>
                      <tr>
                        <td width="130" height="26" class="bline"><font color="">内容页静态: </font></td>
                        <td class="bline"><input type="text" class="iptxt" size="30" name="archtml" value="{$field.archtml}"/><span class="desc">{htmlpath}根目录 {catdir}列表目录  {y}年 {m}月 {d}日 {aid}文章ID</span></td>
                      </tr>
                      
                      </tbody>
                    </table>

                </div>
                <div style="padding-left:10px;">
                    <table width="100%" cellspacing="0" cellpadding="0" border="0">
                      <tbody>
                        <tr>
                            <td width="1%" height="35"></td>
                            <td valign="bottom" width="99%">
                               <input type="image" width="60" height="22" border="0" class="np" id="imagebtn" src="__PUBLIC__/images/button_ok.gif">
                                &nbsp;&nbsp;&nbsp;
                               <a href="{$url}"><img width="60" height="22" border="0" src="__PUBLIC__/images/button_back.gif"></a>
                            </td>
                        </tr>
                      </tbody>
                    </table>
                </div>
            </div>

        </form>
    </body>
</html>
